package com.currency.constant;

public class MarkCode {
    // 支付类型  0-微信  1- 支付宝  2-银联
    public final static Integer PAY_TYPE_WX = 0;
    public final static Integer PAY_TYPE_AP = 1;
    // 暂时没有银联相关支付功能
    // public final static Integer PAY_TYPE_YL = 2;

    //支付状态 0-支付完成  1-申请支付  2-进行中  3-支付取消
    public final static Integer TRADE_STATUS_SUCCESS = 0;

    public final static Integer TRADE_STATUS_APPLY = 1;

    public final static Integer TRADE_STATUS_ING = 2;

    public final static Integer TRADE_STATUS_CANCEL = 3;

    // 交易申请  1-支付申请  2-提现申请
    public final static Integer TRADE_TYPE_PAY = 1;

    public final static Integer TRADE_TYPE_WITHDRAWAL = 2;

    // 金额单位
    public final static String COINS_TYPE_YUAN = "yuan";

    public final static String COINS_TYPE_FEN = "fen";

    // 订单冻结状态
    public final static Integer FREEZE_TYPE_FREEZE = 1;
    public final static Integer FREEZE_TYPE_UNFREEZE = 0;

    // 订单解冻原因
    public final static String UNFREEZE_BACK = "back";
    public final static String UNFREEZE_TRANS = "trans";

}
